﻿/*CREATE TRIGGER [dbo].[Tecnicos_DeletionTrigger] 
    ON [Tecnicos] 
    AFTER DELETE 
AS 
SET NOCOUNT ON 
UPDATE [dbo].[Tecnicos_Tombstone] 
    SET [DeletionDate] = GETUTCDATE() 
    FROM deleted 
    WHERE deleted.[TecnicoGuid] = [Tecnicos_Tombstone].[TecnicoGuid] 
IF @@ROWCOUNT = 0 
BEGIN 
    INSERT INTO [dbo].[Tecnicos_Tombstone] 
    ([TecnicoGuid], DeletionDate)
    SELECT [TecnicoGuid], GETUTCDATE()
    FROM deleted 
END*/